//
//  StatusesCellBottomView.swift
//  SinaMicroBlog
//
//  Created by wxy on 15/9/7.
//  Copyright © 2015年 wxy. All rights reserved.
//

import UIKit

class StatusesCellBottomView: UIView {

    override init(frame: CGRect) {
        super.init(frame: frame)
        
        setUpUI()
    }

    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }

    private func setUpUI() {
        
        // 设置背景颜色
        backgroundColor = UIColor(white: 0.95, alpha: 1.0)
        addSubview(repostButton)
        addSubview(commentButton)
        addSubview(likeButton)
        
        ff_HorizontalTile([repostButton,commentButton,likeButton], insets: UIEdgeInsetsZero)
    }
    
    private lazy var repostButton:UIButton = UIButton(title: " 转发", imageName: "timeline_icon_retweet", color: UIColor.darkGrayColor(), fontSize: 12)
    
    private lazy var commentButton:UIButton = UIButton(title: " 评论", imageName: "timeline_icon_comment", color: UIColor.darkGrayColor(), fontSize: 12)
    
    private lazy var likeButton:UIButton = UIButton(title: " 赞", imageName: "timeline_icon_unlike", color: UIColor.darkGrayColor(), fontSize: 12)
}
